﻿@model LeadMaster.Models.LoginModel

@{
    ViewBag.Title = "Log in";
}
<style type="text/css">
label
{
    width:90px;
}
</style>
<header>
<div class="logo" style="vertical-align: middle; text-align: left;">
<img src="~/Images/Dunsmore.png" style="border: none; height: 100px; width: 100px;" alt="Dunsmore Marketing Ltd"/>
<label style="font-family: 'Trebuchet MS'; font-size: 18px;  ">Orac-LYE v1.0</label>
<nav></nav>
</div>
</header>
<div id="mainlogin" >
@using (Html.BeginForm(new { ReturnUrl = ViewBag.ReturnUrl })) {
    @Html.ValidationSummary(true, "Log in was unsuccessful. Please correct the errors and try again.")
    <fieldset style="width: 400px; left: 2px; ">
        <br />
        <table style="width: 350px;">
            <tr>
                <td>
                    @Html.Label("User Name")
                </td>
                <td>
                    @Html.TextBoxFor(m => m.UserName, new { style="width: 150px;", autocomplete="off" })
                </td>
            </tr>
            <tr>
                <td>
                    @Html.LabelFor(m => m.Password)
                </td>
                <td>
                    @Html.PasswordFor(m => m.Password, new { style = "width: 150px;", autocomplete = "off" })
                </td>
            </tr>
            <tr style="height: 50px;">
                <td>
                    <label>Remember me?</label>
                </td>
                <td>
                    @Html.CheckBoxFor(m => m.RememberMe)                
                </td>
            </tr>
            <tr>
            <td>&nbsp;</td>
            <td><input type="submit" value="Log in" style="width:100px;" class="largebutton"/></td>
            </tr>
        </table>
    </fieldset>
    <div class="spacer"></div>
    <div class="spacer"></div>
    <p>
        @Html.ActionLink("Register", "Register") if you don't have an account.
    </p>
}
</div>
